package com.zr.dao.finance;

import com.zr.vo.finance.FinanceInvoice;

import java.util.List;

public interface FinanceInvoiceDao {
    int deleteByPrimaryKey(Integer id);

    int insert(FinanceInvoice record);

    /**
     * @author wanglu
     * 增加发票
     * @param record
     * @return
     */
    int insertSelective(FinanceInvoice record);

    FinanceInvoice selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(FinanceInvoice record);

    int updateByPrimaryKey(FinanceInvoice record);

    /**
     * @author wanglu
     * 查询发票列表
     * @param financeInvoice
     * @return
     */
    List<FinanceInvoice> getList(FinanceInvoice financeInvoice);
}